package demo;

import pojo.Do.UserDo;
import pojo.dto.UserDto;
import pojo.mapper.UserConverte;

/**
 * @version 1.0
 * @description
 * @author viki
 * @date 2021/10/18 22:24
 */
public class Test01 {

    public static void main(String[] args) {
        UserDo userDo = new UserDo();
        userDo.setUser_name("zs");
        userDo.setUser_password("123456");
        userDo.setUser_email("1878356005@qq.com");

        UserDto userDto = UserConverte.INSTANCE.userDoToDto(userDo);
        System.out.println(userDto);
    }
}
